package com.wmz.disruptor.factory;

import com.lmax.disruptor.EventFactory;
import com.wmz.disruptor.model.LongEvent;

/**
 * @author lihechun
 * @version 1.0
 * @description: 事件工厂：创建事件对象
 * @date 2024/11/28 23:14
 */
public class LongEventFactory implements EventFactory {
    @Override
    public Object newInstance() {
        return new LongEvent();
    }
}
